require.config({
	paths:{
		jquery:'jquery-3.1.1',
		jqueryUI:'jquery-ui.min',
		window:'window'
	}
});
require(['jquery','window'],function($,w){
	$("#a").click(function(){
		var ww=new w.Window();
		ww.alert({
			content:'lip',
			width:300,
			height:400,
			title:'消息',
			hasCloseBtn:true,
			handler4AlertBtn:function(){
				alert('alert');
			},
			handler4CloseBtn:function(){
				alert('close');
			},
			skinClassName:'window_skin_a',
			okContent:'李朋',
			dragHandle:'.window_boundingHeader'
		}).on('alert',function(){
			alert('xixi');
		}).on('close',function(){
			alert('kk');
		});
	});
});